<?php /* Smarty version Smarty-3.0.9, created on 2013-04-17 02:40:21
         compiled from "D:/wamp/www/glight/templates\insertargranjero.tpl" */ ?>
<?php /*%%SmartyHeaderCode:12451516e0b953b7093-70039545%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '41dc3abaf7220d486035c54511a65b9cdf49a267' => 
    array (
      0 => 'D:/wamp/www/glight/templates\\insertargranjero.tpl',
      1 => 1366166387,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '12451516e0b953b7093-70039545',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<form class="well form-search" method="post" action="<?php echo $_smarty_tpl->getVariable('gvar')->value['l_global'];?>
c_insertargranjero.php? option=add">
<legend>Agregar Granjero</legend>
<fieldset>
<table cellspacing="2">
<tr><td>ID: <input type="number" name="id" min="1" value="" /></td></tr>

<tr><td>Nombre: <input type="text" name="nombre" placeholder="Last Name, First Name" value="<?php if (isset($_smarty_tpl->getVariable('object',null,true,false)->value->nombre)){?><?php echo $_smarty_tpl->getVariable('object')->value->nombre;?>
<?php }?>" /></td>
<td>Edad: <input type="number" name="edad" min="1000" max="1000000" step="500" value="" />

<tr><td>Sexo: 
        <select name="sexo">
                    <option <?php if (isset($_smarty_tpl->getVariable('object',null,true,false)->value->sexo)){?>selected<?php }?> title="M">M</option>
                    <option <?php if (isset($_smarty_tpl->getVariable('object',null,true,false)->value->sexo)){?>selected<?php }?> title="F">F</option>
                </select>
    </td></tr>    
    
<tr><td><input class="btn btn-primary" type="submit" value="Add"></td></tr>
</table>
</fieldset>
</form>